home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Demos / OOFILE / PhoneControl OOFILE sample / PhoneControl_OOFILE.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-09  |  548 b   |  29 lines  |  [TEXT/MMCC]

  1. #include "oofile.hpp"
  2.  
  3. CLASS_TABLE(CdbPhoneControl)
  4.     dbChar        LastName;
  5.     dbChar        FirstName;
  6.     dbChar        Title;
  7.     dbChar        Extn;
  8.     dbChar        Department;
  9.     dbChar        Pager;
  10.  
  11. CdbPhoneControl() : dbTable("PhoneControl") ,
  12.     LastName(50, "LastName"),
  13.     FirstName(30, "FirstName"),
  14.     Title(50, "Title"),
  15.     Extn(24, "Extn"),
  16.     Department(50, "Department"),
  17.     Pager(24, "Pager")
  18. {
  19. LastName.index(kIndexCompress);
  20. FirstName.index(kIndexCompress);
  21. Title.index(kIndexCompress);
  22. Extn.index(kIndexCompress);
  23. Department.index(kIndexCompress);
  24. Pager.index(kIndexCompress);
  25.  
  26. };
  27. };
  28.  
  29.